package com.cgt.xiaotao.product.domain.query;

import com.cgt.common.domain.query.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.List;
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description = "商品分页查询条件")
public class ProductPageQuery extends PageQuery {
    @ApiModelProperty(value = "商品名称或搜索关键字")
    private String name;
    @ApiModelProperty(value = "商品标签搜索")
    private List<String> tags;
    @ApiModelProperty(value = "商品价格区间最低价格")
    private BigDecimal minPrice;
    @ApiModelProperty(value = "商品价格区间最高价格")
    private BigDecimal maxPrice;
}
